#version 140

uniform mat4 matProjModelView;
uniform mat4 matModelView;

in vec3 InVertex;
in vec3 InNormal;
in vec2 InTexCoord;
in vec4 InTexValue1;
in vec4 InTexValue2;
in vec4 InTexValue3;
in vec4 InTexValue4;

out vec2 TexCoord;
out vec3 Normal;
out vec4 TexValue1;
out vec4 TexValue2;
out vec4 TexValue3;
out vec4 TexValue4;

void main()
{ 	
	gl_Position = matProjModelView * vec4(InVertex,1.0);
	TexCoord = InTexCoord;// * 0.5;
	Normal = InNormal; //(matModelView * vec4(InNormal, 0.0)).xyz;
	TexValue1 = InTexValue1;
	TexValue2 = InTexValue2;
	TexValue3 = InTexValue3;
	TexValue4 = InTexValue4;
}
